import request from './request'

let route = 'http://farmer.handsomesunshine.com';

export function getOrderList (page,type) {
  return request({
    url: `${route}/api/orderlist?pageIndex=${page}&type=${type}`
  })
}